package com.tuanzi.loan.business.service.settlementsystem;

import com.tuanzi.loan.business.entity.settlementsystem.SettlementCompany;
import com.tuanzi.loan.core.service.BaseAuditService;
import com.tuanzi.loan.core.vo.PageSearcher;
import com.tuanzi.loan.vo.request.settlementsystem.SettlementCompanyAmountRequest;
import com.tuanzi.loan.vo.request.settlementsystem.SettlementCompanyRequest;
import com.tuanzi.loan.vo.response.settlementsystem.SettlementCompanyResponse;
import org.springframework.data.domain.Page;

import java.util.List;

/**
 * @author caiwanlin
 * @create 2018-08-16 20:02
 */
public interface SettlementCompanyService extends BaseAuditService<SettlementCompany,Long> {
    Page<SettlementCompanyResponse> list(PageSearcher<SettlementCompanyRequest> pageSearcher);

    Page<SettlementCompanyResponse> listAmount(PageSearcher<SettlementCompanyAmountRequest> pageSearcher);

    public List<SettlementCompany> getCompanyList();

    SettlementCompany findByCompanyName(String companyName);
}
